package org.jeecg.modules.user.code.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: bike_pile
 * @Author: jeecg-boot
 * @Date:   2021-05-19
 * @Version: V1.0
 */
@Data
@TableName("bike_sys_sms_code")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bike_sys_sms_code对象", description="bike_sys_sms_code")
public class SmsCode implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**手机号*/
	@Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private String mobile;
	/**验证码类型*/
	@Excel(name = "验证码类型", width = 15)
    @ApiModelProperty(value = "验证码类型")
    private String type;
    /**验证码*/
    @Excel(name = "验证码", width = 15)
    @ApiModelProperty(value = "验证码")
    private String smsCode;
    /**请求时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "请求时间")
    private java.util.Date requestTime;
    /**有效时间(秒)*/
    @Excel(name = "有效时间(秒)", width = 15)
    @ApiModelProperty(value = "有效时间(秒)")
    private Integer expiredTime;

}
